using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TileGroup
{
    public List<MahjongTile> Tiles = new List<MahjongTile>();
    public int MaxCount = 8;

    public void AddTile(MahjongTile tile)
    {
        if (Tiles.Count < MaxCount)
            Tiles.Add(tile);
    }

    public void Clear()
    {
        Tiles.Clear();
    }
}

